package com.sheng.project.study.spring.demo03.test4;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author liusheng
 * @date 2023/07/10
 */
@Component
@RefreshScope
@Data
@ToString
public class MailConfig {

    @Value("${mail.username}")
    private String username;
}
